package com.wwj.study.mybatis.bean;

/**
 * @Author: wuweijun
 * @Date: 2018/12/12 19:17
 */
public class Member {
    private Long id ;
    private String name;
    private String addr;
    private Integer age;

    private MemberLog memberLog;


    public MemberLog getMemberLog() {
        return memberLog;
    }

    public void setMemberLog(MemberLog memberLog) {
        this.memberLog = memberLog;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "Member{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", addr='" + addr + '\'' +
                ", age=" + age +
                ", memberLog=" + memberLog +
                '}';
    }
}
